package leetcode_301_400;

public class LeeCode_319 {
    public static void main(String[] args) {
        System.out.println(bulbSwitch(3));
        System.out.println(bulbSwitch(0));
        System.out.println(bulbSwitch(0));
        System.out.println(bulbSwitch(100000000));
        System.out.println((int) 1.222);
    }
    private static int bulbSwitch(int n) {
        return (int) Math.sqrt(n);
    }
}
